home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1986 November
/
Ahoy_Magazine_86-11_1986_Double_L.d64
/
print dir.txt
< prev
next >
Wrap
Text File
|
2022-10-26
|
1KB
|
46 lines
PRINT'DIRECTORY 0.14
by Phyrne Bacon
The new PRINT'DIRECTORY prints the
disk directory with or without the
scratched files and the beginning
track and sectors. The blocks free
are read from the BAM; so that the
"blocks free" number matches that
given by cat. Scratched files are
indicated by --- or 0 in the
PRG-column.
If the sum of the file lengths and
the blocks free is not 664, the
message pass"v" may free xx blocks is
printed on the screen. If a file type
number is non-standard, it is printed
in parentheses in the PRG-column.
A track/sector listing of
PRINT'DIRECTORY can be used with
DISK'EDITOR to unscratch files which
haven't been overwritten: the article
Disk Directories I: Unscratching
Files. A DIRECTORY'PROBE listing
indicates which files are the wrong
length (and have been overwritten).
A track/sector listing gives a
directory listing with the
track/sector of each directory block
listed followed by the eight
directory entries in that block and
the beginning track/sector of each
entry.
A new machine language procedure is
used in PRINT'DIRECTORY which reads a
file thirty-two bytes at a time, and
indicates the end-of-file by giving
the number of bytes used in the final
thirty-two bytes. Any type of file
can be read by changing the open file
7 statement which is in COMAL.